#pragma once
#include "CWindow/CDialogBase.h"
#include "CWindowDraw.h"

class CMainDlg :
    public CDialogBase
{
public:

    LRESULT OnInitDialog(WPARAM wParam, LPARAM lParam);
    LRESULT OnClose(WPARAM wParam, LPARAM lParam);

    LRESULT OnCmdLine(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdRect(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdRectFill(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdCircle(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdGrid(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdGridFill(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdPen(WPARAM wParam, LPARAM lParam);

    LRESULT OnCmdCheckGrid(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdCheckTime(WPARAM wParam, LPARAM lParam);

    LRESULT OnCmdBtnReset(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdBtnUnDo(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdBtnReDo(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdBtnSetCount(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdBtnBitmap(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdBtnGDI(WPARAM wParam, LPARAM lParam);
    LRESULT OnCmdMenuExit(WPARAM wParam, LPARAM lParam);

private:
    DECLARE_DLG_MESSAGE_MAP()

private:
    CWindowDraw m_hWndPaint;
};

